<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Document</title>
</head>

<body>
  <div id="app"></div>
  <template id="pengfan">
    <div v-bind="info" class="ha">哈哈哈</div>
    <div :="info">哈哈哈</div>
  </template>
  <script src="../js/vue.js"></script>
  <script>
    Vue.createApp({
      template: "#pengfan",
      data() {
        return {
          info: {
            name: "pengfan",
            age: 18,
            height: 1.88
          }
        };
      },
      methods: {},
    }).mount("#app");
  </script>
</body>

</html>